package com.sz.designpattern.create5.factorymethod;


public abstract class Factory {
    /**
     * 反射优化
     * @param cls
     * @param <T>
     * @return
     */
    public abstract <T extends IProduct> T createProduct(Class<T> cls);
}
